package cn.zl.springcloud.dao;

import cn.zl.springcloud.pojo.Dept;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhanglang
 * @Date 2020/4/10
 */
@Mapper
@Repository
public interface DeptDao {

    public boolean addDept(Dept dept);
    public Dept queryById(long id);
    public List<Dept> queryAll();
}

